package com.lovo.after.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
//上架的商品
@Data
@TableName("t_upgoods")
public class UpGoodsEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private long upGoodsId;
    private String goodsName;
    private String goodsNo;
    private String goodsSize;
    private String goodsType;
    private float sellPrice;
    //库存数量
    private int goodsNum;
    //商品预售状态
    private int presaleStatus;
    //上下架状态
    private int onSale;
    private float discount;
}
